home *** CD-ROM | disk | FTP | other *** search
/ Apple WWDC 1996 / WWDC96_1996 (CD).toast / Technology Materials / MacOS 8 Resources / Developer Tools / Mac OS 8 Interfaces & Libraries / Interfaces / AIncludes / TSMTE.a < prev    next >
Text File  |  1996-05-01  |  2KB  |  71 lines

  1. ;
  2. ;    File:        TSMTE.a
  3. ;
  4. ;    Contains:    Text Services Managerfor TextEdit Interfaces.
  5. ;
  6. ;    Version:    Technology:    System 7.5
  7. ;                Release:    Universal Interfaces 3.0d3 on Copland DR1
  8. ;
  9. ;    Copyright:    © 1984-1996 by Apple Computer, Inc.  All rights reserved.
  10. ;
  11. ;    Bugs?:        If you find a problem with this file, send the file and version
  12. ;                information (from above) and the problem description to:
  13. ;
  14. ;                    Internet:    apple.bugs@applelink.apple.com
  15. ;                    AppleLink:    APPLE.BUGS
  16. ;
  17. ;
  18.     IF &TYPE('__TSMTE__') = 'UNDEFINED' THEN
  19. __TSMTE__ SET 1
  20.  
  21.     IF &TYPE('__TEXTEDIT__') = 'UNDEFINED' THEN
  22.     include 'TextEdit.a'
  23.     ENDIF
  24.     IF &TYPE('__DIALOGS__') = 'UNDEFINED' THEN
  25.     include 'Dialogs.a'
  26.     ENDIF
  27.     IF &TYPE('__APPLEEVENTS__') = 'UNDEFINED' THEN
  28.     include 'AppleEvents.a'
  29.     ENDIF
  30.     IF &TYPE('__TEXTSERVICES__') = 'UNDEFINED' THEN
  31.     include 'TextServices.a'
  32.     ENDIF
  33. ;  #include <Gestalt.i>
  34.     IF FOR_SYSTEM7_AND_SYSTEM8_COOPERATIVE THEN
  35. ;  signature, interface types
  36.  
  37. kTSMTESignature                    EQU        'tmTE'
  38. kTSMTEInterfaceType                EQU        'tmTE'
  39. kTSMTEDialog                    EQU        'tmDI'
  40. ;  update flag for TSMTERec
  41.  
  42. kTSMTEAutoScroll                EQU        1
  43. ;  callback procedure definitions
  44. ;  data types
  45. TSMTERec                RECORD 0
  46. textH                     ds.l    1                ; offset: $0 (0)
  47. preUpdateProc             ds.l    1                ; offset: $4 (4)
  48. postUpdateProc             ds.l    1                ; offset: $8 (8)
  49. updateFlag                 ds.l    1                ; offset: $C (12)
  50. refCon                     ds.l    1                ; offset: $10 (16)
  51. sizeof                     EQU *                    ; size:   $14 (20)
  52.                         ENDR
  53. ; typedef struct TSMTERec *                TSMTERecPtr
  54.  
  55. ; typedef TSMTERecPtr *                    TSMTERecHandle
  56.  
  57.     ENDIF
  58.     IF ¨ FOR_OPAQUE_SYSTEM_DATA_STRUCTURES THEN
  59. TSMDialogRecord            RECORD 0
  60. fDialog                     ds        DialogRecord    ; offset: $0 (0)
  61. fDocID                     ds.l    1                ; offset: $AA (170)
  62. fTSMTERecH                 ds.l    1                ; offset: $AE (174)
  63. fTSMTERsvd                 ds.l    3                ; offset: $B2 (178)        ;  reserved
  64. sizeof                     EQU *                    ; size:   $BE (190)
  65.                         ENDR
  66. ; typedef struct TSMDialogRecord *        TSMDialogPeek
  67.  
  68.     ENDIF
  69.     ENDIF ; __TSMTE__ 
  70.  
  71.